/<template>
   <div class="Daiying">
       <!-- <h1>这是待映页</h1> -->
        <div class="content">
           <h5>近期最受欢迎</h5>
           <LunBo :data="list"></LunBo>
       </div>
       <div class="list">
           <List :list="list"></List>
       </div>
   </div>
</template>

<script>
import {mapState,mapActions} from "vuex"
import List from '../../components/List.vue'
import LunBo from '../../components/LunBo.vue'
export default {
 components: { List, LunBo },
    mounted(){
        this.getList()
    },
    methods:{
        ...mapActions(["getList"])
    },
    computed:{
        ...mapState(["list"])
    }
}
</script>

<style>

</style>